﻿using System.Collections.Generic;
using System;

namespace TyMES.Communication.Request
{
    public class DqOrderRequest
    {

    public class ScheduleData
    {
        public string lineCode { get; set; }
        public List<ProductionOrder> data { get; set; }
        public string scheduleNumber { get; set; }
    }

    public class ProductionOrder
    {
        public string factoryCode { get; set; }
        public string orderType { get; set; }
        public string scheduleStateCode { get; set; }
        public string lineName { get; set; }
        public string orderStatus { get; set; }
        public string materialVersion { get; set; }
        public string productName { get; set; }
        public string routeName { get; set; }
        public DateTime scheduleStartTime { get; set; }
        public string lineCode { get; set; }
        public string productVersion { get; set; }
        public string routeVersion { get; set; }
        public string orderQty { get; set; }
        public string scheduleCode { get; set; }
        public string scheduleStatus { get; set; }
        public DateTime orderEndTime { get; set; }
        public DateTime startTime { get; set; }
        public string orderStateCode { get; set; }
        public DateTime scheduleEndTime { get; set; }
        public string routeCode { get; set; }
        public string scheduleQty { get; set; }
        public string materialCode { get; set; }
        public int priority { get; set; }
        public string materialName { get; set; }
        public string productCode { get; set; }
        public string orderCode { get; set; }
        public DateTime endTime { get; set; }
        public DateTime orderStartTime { get; set; }
    }

        public class GetOrderByPMRequest
        {
            public string PMCode {  get; set; }
            public string OperationCode {  get; set; }
        }

    }
}
